<%@ page language="java" contentType="text/html; charset=utf-8"
	isErrorPage="true" pageEncoding="utf-8"%>
<%@ include file="/page/public/public-taglibs.jsp"%>
<c:set var="redirectUrl" value="${redirectUrl}" />
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<%@ include file="/page/public/public-css.jsp"%>
<%@ include file="/page/public/public-js.jsp"%>
<script type="text/javascript">

	//返回页面顶部 
	scrollTop();
	var redirectUrl = '${redirectUrl}';
	function redirectPage() {
		window.location = ctx + redirectUrl;
	}
	//设定倒数秒数  
	var t = 5;
	//显示倒数秒数  
	function showTime() {
		t -= 1;
		$("#showtimes").html(t);
		if (t == 0) {
			location.href = ctx + redirectUrl;
		}
		setTimeout("showTime()", 1000);
	}
	showTime();
</script>
</head>


<body class="no-skin">
	<!-- /section:basics/navbar.layout -->
	<div class="main-container" id="main-container">

		<!-- /section:basics/sidebar -->
		<div class="main-content">
			<div class="main-content-inner">
				<div class="page-content">
					<div class="row">
						<div class="col-sm-12">
									<div class="center" style="min-height: 350px">
										<c:if test="${result.statusCode eq 'success' }">
											<h2 class="lighter green">${result.message}</h2>
										</c:if>
										<c:if test="${result.statusCode eq 'error' }">
											<h2 class="lighter red2">${result.message}</h2>
										</c:if>
										<p>
											系统将会在<strong><span id="showtimes" class="text-danger">5</span></strong>秒后，将自动跳转到列表页面
										</p>
										<p>
											如果您需要立即返回，请您点击<a href="javaScript:void(0)"
												onclick="redirectPage();">立即返回</a>
										</p>
									</div>
							</div>
					</div>
				</div>
			</div>
		</div>
	</div>

</body>
</html>